package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IDeviceDataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class DeviceDataJob {
    @Autowired
    private IDeviceDataService deviceDataService;

    public void periodicDeletionDeviceData() {
        deviceDataService.periodicDeletionDeviceData();
        log.info("定时设备数据成功！");
    }
}
